#!/bin/bash
# debian

# /bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/linux_x86_64.sh)"

if [[ "$(uname -s)" == "Linux" ]]; then
	#brew,install git and curl first
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/linux_zsh.sh)"
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/linux_base.sh)"
fi

# not support aarch64
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/main/brew_install.sh)"
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/main/brew_config.sh)"
source ~/.zprofile

/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_git.sh)"
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/brew/raw/main/ohmyzsh_install.sh)"
# for aarch64 linux
# curl -sS https://starship.rs/install.sh | sh

/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_joshuto.sh)"

# /bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_miniforge.sh)"
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/neovim_pre_setting.sh)"
/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/nvim_config.sh)"

##more for mac
# /bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_alacritty.sh)"
# /bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_kitty.sh)"
# /bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_font.sh)"
if [[ "$(uname -s)" == "Darwin" ]]; then
	#brew,install git and curl first
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_clash.sh)"
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_iina.sh)"
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_rectangle.sh)"
	/bin/bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/install_switchkey.sh)"
fi
##and more

##neovim for linux aarch64
# curl -OL https://gitee.com/hevey88/kitty/releases/download/neovim/nvim-linux64.deb
# sudo dpkg -i
